<% #endcoding:utf-8%>
<div class="message-nav row">
  <ul>
    <li <%if params[:stat].nil? %>class="actived"<%end%>><%=link_to "所有需求",@path%></li>
    <li <%if params[:stat].to_i==2 %>class="actived"<%end%>><%=link_to "已选标",@path+"?stat=2"%></li>
    <li <%if params[:stat].to_i==3 %>class="actived"<%end%>><%=link_to "协商工作中",@path+"?stat=3"%></li>
    <li <%if params[:stat].to_i==4 %>class="actived"<%end%>><%=link_to "已完成",@path+"?stat=4"%></li>
  </ul>
</div>